const express = require('express');

const os = require('os');

const app = express();

app.get('/index1', (req,res) => {
  res.json({
    code: 200,
    message: '9999',
    list :os.cpus()
  })
})

app.listen('9999', () => {
  console.log('index.js listening on http://localhost:9999/index1');
})